package com.lingnan.club.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lingnan.club.pojo.Sign;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 * @author 刘宇浩
 * @since 2022-04-03
 *
 * @author 邓仁鸿
 * @since 2022-04-05
 */

public interface SignService extends IService<Sign> {

    /*删除签到活动*/
    Integer deleteSignById( Integer id);

    /*修改签到活动*/
     int updateSignActive(Sign sign);

    /*查询全部*/
    List<Sign> findAll();

    /*发布活动*/
    boolean publishSignActive(Sign sign);

    /*有条件查询*/
    List<Sign> searchSign(String name);

}
